package com.huaguoguo.cyg.entity.common.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author huaguoguo
 * @since 2020-02-29
 */
@TableName("spider_error")
@Data
@Builder
public class SpiderErrorDTO implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 出错请求的url
	 */
	@TableField(value = "error_url")
	private String errorUrl;

	/**
	 * 报错详情文本说明
	 */
	@TableField(value = "error_details_text")
	private String errorDetailsText;

	/**
	 * 报错类型  0-抓取报错 1-解析报错
	 */
	@TableField(value = "error_type")
	private Integer errorType;


}
